package com.core.Massa;

import com.core.Massa.MassaBase;

public class Quilograma extends MassaBase {
	
	public Quilograma(double valueToBeConverted){
		this.valueToBeConverted = valueToBeConverted;
	}
	
	@Override
	public double ToGrama(){
		return this.valueToBeConverted*1000;
	}
	
	@Override
	public double ToMiligrama(){
	 return this.valueToBeConverted*1000000;
	}

	@Override
	public double ToLibra(){
	 return this.valueToBeConverted*2.2046;
	}
	
	@Override
	public double ToOnca(){
	 return this.valueToBeConverted*35.2740;
	}

}
